﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

#endregion
using System.Reflection;
namespace Ndo
{
    public class InvokeDegeneratedMethodException : Exception
    {
        internal InvokeDegeneratedMethodException(MethodBase method)
        { 
            this.method = method;
        }
        private readonly MethodBase method;
        public MethodBase Method
        { 
            get
            {
                return this.method;
            }
        }
        internal static readonly ConstructorInfo Constructor = typeof(InvokeDegeneratedMethodException).GetConstructors(BindingFlags.NonPublic | BindingFlags.Instance)[0];
    }
}
